#include <iostream>

using namespace std;

double doubleSum(double *dp1, double *dp2) {
  return *dp1 + *dp2;
}

int main(int argc, char const *argv[]) {
  double d1 = M_E;
  double d2 = M_PI;
  double sum = doubleSum(&d1, &d2);
  cout << sum << endl;
  return 0;
}
